package com.entity;


import org.apache.ibatis.type.Alias;

@Alias("BaseTrade")
public class Trade extends BaseEntity {
	
	private static final long serialVersionUID = 1L;

	/**
	 * 编号
	 */
	private String id;

	/**
	 * 行业名称
	 */
	private String tradeName;

	/**
	 * 行业状态（预留）
	 */
	private Integer tradeState;

	/**
	 * 上级行业（预留）
	 */
	private String fatherTrade;


	public Trade () {
		super();
	}

	public Trade (String id,String tradeName,Integer tradeState,String fatherTrade) {
		this.id = id;
		this.tradeName = tradeName;
		this.tradeState = tradeState;
		this.fatherTrade = fatherTrade;
	}

	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getTradeName() {
		return this.tradeName;
	}

	public void setTradeName(String tradeName) {
		this.tradeName = tradeName;
	}

	public Integer getTradeState() {
		return this.tradeState;
	}

	public void setTradeState(Integer tradeState) {
		this.tradeState = tradeState;
	}

	public String getFatherTrade() {
		return this.fatherTrade;
	}

	public void setFatherTrade(String fatherTrade) {
		this.fatherTrade = fatherTrade;
	}

	@Override
	public String toString() {
		return "Trade[id=" + id+ ", tradeName=" + tradeName + ", tradeState=" + tradeState + ", fatherTrade=" + fatherTrade + "]";
	}


}

